@layout("/common/_container.html"){

<div class="row rylb">
    <!--人员列表-->
    <div class="col-sm-12  col-xs-12 " id="leftContent">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>人员列表</h5>
                <div class="ibox-tools">
                    <a class="" href="###" onclick="window.history.go(0);"> <i class="fa fa-refresh refreshs" ></i></a>
                </div>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-10 col-md-10 col-xs-10">
                    <!--高级搜索-->
                    <div class="row highSearch highSearchGroup" >
                        <div class="col-sm-4 col-md-4 col-xs-12">
                            <#NameCon id="name" label="帐号/姓名/电话" placeholder="帐号/姓名/电话" />
                        </div>
                        <div class="col-sm-4 col-md-4 col-xs-12">
                            <#SelectCon id="roleid" label="用户角色">
                                <option value="">请选择角色</option>
                                @for(item in roleList){
                                    <option value="${item.id}">${item.name}</option>
                                @}
                            </#SelectCon>
                        </div>
                        <div class="col-sm-4 col-md-4 col-xs-12">
                            <#SelectCon id="status" label="用户状态">
                                <option value="">请选择状态</option>
                                <option value="1">启用</option>
                                <option value="2">冻结</option>
                            </#SelectCon>
                        </div>
                        <div class="col-sm-4 col-md-4 col-xs-12">
                            <#TimeCon2 startId="beginTime" endId="endTime" label="创建时间" startPlaceholder="请选择时间" endPlaceholder="请选择时间" />
                        </div>
                    </div>

                    <!--普通搜索-->
                    <div class="hidden-xs" id="managerTableToolbar" role="group">
                        <div class="row">
                            <div class="col-sm-4 col-md-4 col-xs-12 normalSearch">
                                <!-- 普通搜索可选项-->
                                <#SelectConNormal id="normalFieldName">
                                    <option value="name">帐号/姓名/电话</option>
                                    <option value="roleid">用户角色</option>
                                    <option value="beginTime;endTime">创建时间</option>
                                </#SelectConNormal>
                            </div>
                            <div class="col-sm-4 col-md-4 col-xs-12 normalSearch normalSearchGroup" >
                                <!-- 普通搜索条件组-->
                                <#NameConNormal name="name"  placeholder="帐号/姓名/电话" style="display:block;"/>
                                <#SelectConNormal  name="roleid" style="display:none;">
                                    <option value="">请选择角色</option>
                                    @for(item in roleList){
                                         <option value="${item.id}">${item.name}</option>
                                    @}
                                </#SelectConNormal>
                                <#TimeCon2Normal startName="beginTime" endName="endTime" startPlaceholder="yyyy-MM-dd" endPlaceholder="yyyy-MM-dd" style="display:none;"/>
                            </div>
                            <div class="col-sm-4 col-md-4 col-xs-12 tl" id="change">
                                <!-- 普通搜索-->
                                <#buttonNormal name="搜索"  class="normalSearch" clickFun="MgrUser.vs.normalSearch();"/>
                                <!-- 高级搜索-->

                                <#buttonNormal name="搜索" class="highSearch" clickFun="MgrUser.vs.highSearch();"/>
                                <#buttonNormal name="清空" class="highSearch btnGray" clickFun="MgrUser.vs.highResetSearch();" />

                            </div>
                        </div>
                    </div>
    </div>
                    <#table id="managerTable"/>
                </div>
            </div>
        </div>
    </div>

    <!--详细信息-->
    <div class="col-sm-3" id="rightContent" style="display:none;">
        <div class="ibox ">
            <div class="client-detail">
                <iframe id="detail-iframe" width="100%" height="100%"  src="" frameborder="0"></iframe>
            </div>

        </div>
    </div>
</div>
<script type="text/javascript">
    //用户权限
    var Authority={};
    Authority['add']=${shiro.hasPermission("/mgr/add")};//添加
    Authority['update']=${shiro.hasPermission("/mgr/edit")};//修改
    Authority['delete']=${shiro.hasPermission("/mgr/delete")};//删除
    Authority['reset']=${shiro.hasPermission("/mgr/reset")};//重置密码

</script>
<script type="text/javascript" src="${ctxPath}/static/js/common/VSearch.js"></script>
<script type="text/javascript" src="${ctxPath}/static/modular/system/user/user.js"></script>
@}
